package main
import(
	"fmt"	
)

type student struct {
	Name string
}

func zhoujielun(v interface{}) {
	switch msg := v.(type) {
	case student:
		fmt.Printf("msg.Name=%v\n", msg.Name)
	}	
}

func main() {	
	var iTmp int
	var s  student
	zhoujielun(s)


	fmt.Printf("iTmp=%v\n", iTmp)
	fmt.Printf("s=%v\n", s)	
}

 
